package com.adminsystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 考试题目对象 exam_paper_question
 * 
 * @author admin
 * @date 2023-11-23
 */
public class ExamPaperQuestion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @TableId(value = "question_id", type = IdType.AUTO)
    private Long questionId;

    /** 题目名字 */
    @Excel(name = "题目名字")
    private String questionName;

    /** 题目分数 */
    @Excel(name = "题目分数")
    private Long questionScore;

    /** 问题类型 */
    @Excel(name = "问题类型")
    private String questionType;

    /** 难易度 */
    @Excel(name = "难易度")
    private String questionLevelId;

    /** 选项A */
    private String questionOptionA;

    /** 选项B */
    private String questionOptionB;

    /** 选项C */
    private String questionOptionC;

    /** 选项D */
    private String questionOptionD;

    /** 正确答案 */
    private String answer;

    /** 题目解析 */
    private String analysis;


    public void setQuestionId(Long questionId)
    {
        this.questionId = questionId;
    }

    public Long getQuestionId() 
    {
        return questionId;
    }
    public void setQuestionName(String questionName) 
    {
        this.questionName = questionName;
    }

    public String getQuestionName() 
    {
        return questionName;
    }
    public void setQuestionScore(Long questionScore) 
    {
        this.questionScore = questionScore;
    }

    public Long getQuestionScore() 
    {
        return questionScore;
    }
    public void setQuestionType(String questionType) 
    {
        this.questionType = questionType;
    }

    public String getQuestionType() 
    {
        return questionType;
    }
    public void setQuestionLevelId(String questionLevelId) 
    {
        this.questionLevelId = questionLevelId;
    }

    public String getQuestionLevelId() 
    {
        return questionLevelId;
    }
    public void setQuestionOptionA(String questionOptionA) 
    {
        this.questionOptionA = questionOptionA;
    }

    public String getQuestionOptionA() 
    {
        return questionOptionA;
    }
    public void setQuestionOptionB(String questionOptionB) 
    {
        this.questionOptionB = questionOptionB;
    }

    public String getQuestionOptionB() 
    {
        return questionOptionB;
    }
    public void setQuestionOptionC(String questionOptionC) 
    {
        this.questionOptionC = questionOptionC;
    }

    public String getQuestionOptionC() 
    {
        return questionOptionC;
    }
    public void setQuestionOptionD(String questionOptionD) 
    {
        this.questionOptionD = questionOptionD;
    }

    public String getQuestionOptionD() 
    {
        return questionOptionD;
    }
    public void setAnswer(String answer) 
    {
        this.answer = answer;
    }

    public String getAnswer() 
    {
        return answer;
    }
    public void setAnalysis(String analysis) 
    {
        this.analysis = analysis;
    }

    public String getAnalysis() 
    {
        return analysis;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("questionId", getQuestionId())
            .append("questionName", getQuestionName())
            .append("questionScore", getQuestionScore())
            .append("questionType", getQuestionType())
            .append("questionLevelId", getQuestionLevelId())
            .append("questionOptionA", getQuestionOptionA())
            .append("questionOptionB", getQuestionOptionB())
            .append("questionOptionC", getQuestionOptionC())
            .append("questionOptionD", getQuestionOptionD())
            .append("answer", getAnswer())
            .append("analysis", getAnalysis())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
